<template>
  <page-layout>
    <template #header> 头部 </template>
    <template #container> 内容 </template>
    <template #footer>
      <uv-button>提交</uv-button>
    </template>
  </page-layout>
</template>

<script lang="ts" setup>
import * as service from './service'
import type { AaaaaaInfo } from './types'

const aaaaInfo = ref<AaaaaaInfo>({} as AaaaaaInfo)

async function getAaaaInfo () {
  const id = 1
  const [err, data] = await service.getAaaaDetail(id)
  if (err || !data) return

  aaaaInfo.value = data
}
onMounted(() => getAaaaInfo())
</script>

<style lang="scss" scoped>
</style>
